import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import DevlopOptions from './vite.development'
import ProdOptions from './vite.production'
const CommonnOptions=defineConfig({
  plugins: [vue(), vueJsx()],
})
const options=process.env.NODE_ENV === 'production'? {...CommonnOptions,...ProdOptions }: {...CommonnOptions,...DevlopOptions }
// https://vite.dev/config/
export default options
